fn fib(int n):int {
    if (n <= 1) {
        return n
    }

    return fib(n - 1) + fib(n - 2)
}

var result = fib(40)
print('result=', result, '\n')